package com.examples.interfaces;
/**
 * @author Student2
 *
 */
public class Hello implements HelloI{

	@Override
	public int add (int a,int b) 
	{
		return a+b;
	}
	public static void main(String[] args) {
		// find memeory allocated to interfaces
				System.out.println(" Memory for interfaces ");
				HelloI I = new Hello();
				int a = I.add(5, 6);
			
					System.out.println("result is " + a);

	}

}
